import 'package:flutter/material.dart';

/// EventChannel：用于数据流（event streams）的通信， Native 端主动发送
/// 数据给Flutter，通常用于状态的监听，比如网络变化、传感器数据等。
class PageEventChannel extends StatelessWidget {
  const PageEventChannel({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container();
  }
}


class _PageEventChannel extends StatefulWidget {
  const _PageEventChannel({Key? key}) : super(key: key);

  @override
  _PageEventChannelState createState() => _PageEventChannelState();
}

class _PageEventChannelState extends State<_PageEventChannel> {
  @override
  Widget build(BuildContext context) {
    return Container();
  }
}
